Logging out and in again should now be working.
Window placemenent added. Fixed redundant object-instantiation for windows. Fixed a bug in the MainMenu.