Rename and move MainState
Let the styles be loaded first
Make MainState independent of global game var