Control buttons do not disappear
Program does not exit if save dialog canceled
Bugfix: Window closing
1-dim arrays are read and updated correctly