WIP, window management
Added: Saving of window position