Datum planes with offset and angle. Miscellaneous fixes