Fix bug where title does not update with file name after Save As
Fix bug where cleanUp does not get executed if user uses window close 'X' button
Fix bug where Save As does not always work
Change 'Group' menu to 'Device' menu
Fix bugs regarding incorrect discard changes behaviour
Fix bug where exception is thrown when cancelling out of add group dialog