Added Report functionality to MainFrame

Report button works on MainFrame now and small changes to ReportGUI so
that closing that popup does not close the whole program.