fixed nasty pipeline var bug; new min/max aliases.
cleaned up turtles to take advantage of new stuff
upgraded min/max to take two arguments; tests for same.