- performance tweak: store the inverse of transformation matrix instead of always calculating it
- preview window has fixed size and scales the result to fit
- minor renaming