Fixed SQLite bugs
Cleaned up Runnables