Improved contour choice, improved error messaging on stale ax objects, improved inflate method of gr. Added function method to gr