Db is fully functional at long last!

please don't crash before commit finishes, computer D: