Cleaed cache. Added real thumbnail functionality - no more resizing of full-sized files. Did some other stuff, too. Last one for the night.