New features that speed up slug

Descriptions are in each commit.