A number of fixes for View class, also enabling subclassing from a base view type.