While working on FreezerBurn, I’ve had alot of difficulty figuring out how to manage SQLite Database Connection objects.  The story so far has been: Write a “MasterDBConnection” function that either creates a connection, or returns the existing connection (maintained in a global variable). #1 didn’t work because I use multiple threads, so improve it to [...]