main window hidden off start, re-added .ui file for newmessage so it would still compile