Fixing small errors in the code (thanks WebStorm!). Adding some level settings checks in Game class.