Account stuff, some general cleanup

Account still needs to be finished, but is at least in a working state.
I added PHP include files for the HTML generation functions, and cleaned
up some of the HTML. I also made sure Josh's most recent edits were
saved. I hope.