Updated to use url_for for loading static content. Also a bunch of (currently marginally-functional) additions to viewing details.