Various polishing allover the place

- State change transitions
- Smarter logic for determining whether goal is reached or not
- Fixed most compilation warnings
- Fixed navigation in Sound- and Music menu states
- Fixed one memory leak in MenuState
- Code cleanups in general