Added functions to load and save layers, along with a button.

Currently the save isn't hooked up to anything, so you can never load
any layers.