Removed reference to apparently deprecated idlelib.Delegator
Fixed import syntax for PIL