Nearly (maybe fully) complete for Commit

Error-handling, final tweaks to database connectivity