more refactoring of text view stuff into WCFoundation