Slugs to tags, and some database and other improvements.