display_text function working.  New user function now timesout and recognizes invalid patterns.