sqlite3ext : misc manual cleanups