Fix wrong window mode switch
Fix typos and mistakes
Merge pull request #11 from aimlol/master

Fixes