fix web ui fatal errors

Fixes #611 #614 #613 
All good :-)