added quotes to SQLite commands that are usign their escaping methods. Closes #321