Finished save file functionality

Cleaned up some GUI functionality as well.