Fixed pausemanager not to try to relock the mutex when unpausing.
Made default builds non-debug.