general cleanup of event handlers, comments, markup, styling, etc.