fixes, can purge errorlog

web interface had errors. remade json output for /errors/ routing path.
added button to purge error.log from web interface. added stylesheet for
a small popupbox