cleanups

Got fed up with how lpc.html was looking all tacky, so here's a series of incremental cleanups to tidy it up.

I hope they're easy to review.