replaced /w with real base url
you forgot to close a form, which is why people couldn't submit edits or log in
made footer links work
fixed more badly formed HTML, and removed a problematic debug from user links
fixed an HTML escaping issue
Merge pull request #1 from jacob-g/master

A bunch of fixes