Gets rid of calls to delegateEvents and buildUi in showIn.