The latest

Tons of new things and bug fixes in this commit.