Made python2picture.py work with different filetypes, and force update of the screen on calling display().