Preferences

Snowed in and didn't feel like doing any real work, so I did the new preferences stuff - this fixes #5. The only thing that is missing is the warning/error on Network.run.