Transform: add asserts
Switch: also support the General context
Transform: more comments about the CanTransform extension, and support the Paint context
Transform: remove the buggy INVERT_INTERACT code + draw a glyph to indicate the transform is inverted