Finished GUI pdf. Removed legacy code