Fixed audio not muting when window is inactive.
Moved locking into voices, waves don't need it.