Bulk updates: Full OOP migration for class internals.  Cleaned log_db_errors function to simplify.  Added error checking for array values on update and delete commands.