Refactor of screen.py
Merge remote-tracking branch 'origin/master'