Using PIL

Change from using pygame (used just for fast testing) to PIL.