It seems that you're using an outdated browser. Some things may not work as they should (or don't work at all).
We suggest you upgrade newer and better browser like: Chrome, Firefox, Internet Explorer or Opera

×
If you exit the game on windowed mode it will restart on windowed mode and vice-versa. If that's not the case you're having an issue with the game shutting down properly and that's really rare. In fact I've never seen it before.