Fixed bug that resized wrong window:(was GetForegroundWindow(), now event.window )
Reworked ScreenRecorder and ScreenRecorderUI, added PropertiesDialog.
Implement exit_app in ScreenRecorderUI, correct initialization of mode in ScreenRecorder