Lots of updates to the database code. Database works now, but cannot
submit matches to it at the moment. Getting issues with the database
being closed by another thread before an insert can take place.
Match Scouting now successfully records into the local database.