Merge pull request #140 from ihptru/master

fix screenshot resizing, add preview for shp files stored in map