couple small changes for usability and such. check for min < max,