UI cleanup and fixes

Now really HTML5 compliant by removing legacy markup, implement responsive CSS page layout, change font to sans-serif, various minor logic fixes.
Still uses innerHTML instead of jQuery, though. :(