Some more refactoring on Rect, plus updated rdocs on Rect