Rewrote some thumbnailer code to prevent stalls