Moved UI data into a new file; added comments; exit now works.