Guiconvience

1. Minor fixes in GUI behavior
2. Implemented saving window coordinates in userdefaults.cfg