Merge pull request #208 from bhattigurjot/master

corrects mouse axes on zoom in
corrects exporting of images and pdf
Merge pull request #209 from kamalpreetgrewal/master

corrects exporting of images and pdf
implements grid snapping