minor renderer changes.
improve range helper methods.