Minor tweaks and fixes

Mostly, I removed unused imports, added some more keywords for the factoids command, and tried to improve the AutoNoCaps a little bit more.