Added method to poll contents of a text field in the application window and return that to the main program making the call