Move GUI report code to new file, reports.py.