Added debugging buttons in main window