improved png sizing.  got rightmost curve working.