Added thumbnail cache rebuilder function, for when OSX acts up