SQLite support in progress ... Some bug fixes