misc bug fixes
404 handling

standardize handling
c808e21c9ad88a633e4193c9c3bf3bba9bf7912a
slideshow links gave 404 errors
Merge pull request #145 from sbillard/master

various fixes