updated db to new, streamlined api version, and fix for graceful insert crashing; also update to new version of gui - managed event loop, and timers!