Added logging of showing and hiding mainwindow
Added destructor for TaskBarIcon
Added logging of messages
Corrected type for simulating key presses