fixed up pathname checking AGAIN
fixdd up hashbang checking again
Merge branch 'categories'