Simplifications, security fixes, automated front end AJAX refresh