Lots of changes to get live GMaps backend working and improve error reporting in Algorithm class