frontend cleanup

Cleaned up UI, replaced legacy tags with CSS for HTML5 compliance.
Scripts mostly unchanged.