Fix NULL type shp creation in tile4ms (#4259)

closes #4259
Fix some typos in AGG code (no idea if they affect us)
Merge branch 'branch-6-2'