v1.2

Lots of compatibility fixes