Some small changes.
Using namespace for file-scope declarations.
SoundNull now pretends to have even more functionality.
Mousegrab state can be queried. Should now grab more reliably.