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