Remove unused imports.
Add option to only generate cache database.
Triple period is more readable than ellipsis in terminals.
Just a bunch of whitespace fixes.
This is more than twice faster, says cProfiler.
List comprehension more readable here IMO, and does not impact speed or behavior.
Less indentation.
Merge pull request #1 from alimony/grab-bag-o-mini-fixes-01

Lite småsaker bara, se enskilda commits för mer info.