More on phpThumbOf bugs and fixes