Updating to 1.7.2.

Massive changes, not all tested. Use with caution.