more refactoring in util.cc
Fixed warning: comma at end of enumerator list
Fixed warnings mainly by removing unused variables
Refactoring: Moved menubar creation into a seperate function
Mainwindow: GUI creation in constructor split into multiple functions.