Modified SQLite3 a lot. Now it always requires explicit transaction. Cleaned up some dirty stuffs.