Window location is now saved

There are some syncing issues which are going to be solved by the next
commit