tidied up code in displayer.py