lens iop: Automatically set scale.
masks: fix buffer overflow in path shape; use dynamic instead of static buffer size
Merge pull request #252 from gebner/autoscale

[Post-1.4] lens iop: Automatically set scale.