Improved display.py Windows operability