started using QSettings, some refactoring (rename)

. QSettings saving and restoring window state and position
. renamed save/load functions