comment out view sample.
implemented a dispose method to the EventDispatcher class.