misc fixes. caching of views now is abstracted out to _close and _redelegate and two Custom type of views: delegateEventsCustom and _redelegateCustom