This commit mainly just fixes svcSignalProcessWideKey and svcWaitSynchronization and their related issues.