UI fixes: better styling, move HTML to the bottom to make hover popups more useful