Check system tray availability for close to tray. Save window dimensions. Related to issue #67.