Update display_lib.py

removed dependency on explicit text field names