Refactored main.js. Paring down hashchange handling.
Removed extranneous hashchange library; not really necessary. Also cleaned up some other code and renamed content files.