added more usefull stuff to the mainFrame