Added a non-standard event (nschange) for updating the display text.