window fix, and better window loading
Merge branch 'master' of https://github.com/svenne87/betbattle