Syntax tweaks
Work with Pillow as well as PIL
Fix a typo