Improved displays.py stability. Fixes #117