Styling and minor log improvements.

Improved the styling of errors and reorded the css.

Made getLogElement work even if you don't pass it a string template.