qrgui made compilable under linux again
Removed reference to main window from property editor view
Element deleton code moved from MainWindow to corresponding commands;
Removed some more references to MainWindow from editor component