Removing debug codes.
Fixing a new RegExp bug in thumbnailer