v0.04.0a

Added ability to save settings to file and fixed a few bugs.