Fixing bug related to setting volume

- moving keydown consumption to top of check.
- making sure the music isn't null before calling setVolume()
Moved control of leve to a level manager