Text written on thumbnail can now be filename and/or dimensions, and several thumbnail bugs fixed