Edited MainWindow so flashing buttons are disable when --tray cmd argument is used.