The temp database will always be created. Basically, when you open brewtarget we copy the db into the temp. At the end of the session, when we ask if you want to save your changes, if you say "no" we copy that temp db back. If you say "yes", we are supposed to delete the temp.
I am guessing...