Fix window title.
Fix class name (Minegui -> GameWindow).
Remove redundant code and cleanup.