Fix |= operation on a bool

Bitwise OR operates on ints. It's slow (casts required) and unsafe.
Implement SoundMain::onLevelLoad
Implement SoundMain::onLevelUnload