Updates2

Fixed some issues with "saving" user preferences.
Cleaned up some code.
Added back in code to output JS to user for copying (partially
implemented).
Merge branch 'master' of https://github.com/insect1285/d3

Conflicts:
	js/site.js