Comment reasons for code changes, make it clear why only the creator thread can close and why isOpen pretends the DB is closed when it is open