added: possibility to minimize main window to task bar