Optimization: changing digestTrackWords and unDigestTrackWords to share an sqlite3 cursor instead of getting their own. This leads to fewer, more atomic commits (which have to write to disk).
Removing trailing whitespace