text in MainWindow can be scrolled now
added EndMode
cleaned up resource-pathes