Fixing broken thumbnailgeneration and cleanup of the proxy code
Still doesnt work with the supplied PIL but work if you remove the PIL from /libs/.