Main window improvements. Log file created in emulator binary folder.

Main window improvements. Log file created in emulator binary folder.