Added panel to main window