Changed View2D: it's now based on the Rectangle2D class. Removed some warnings.