Simplified sqlite3 initialization and improved a couple of comments.