Implemented save and load commands.
Made it so that the directory doesn't show up as a file and fixed a load command bug.
Misc error handling.