Found couple more cases of poorly protected sqlite3 calls. Fixed.