Custom state management solution. FlxState is buggy on html5.
Merge branch 'master' of https://github.com/vkdaros/HaxeBoat