added the mainframe with canvas and main menu panel