Fixed function setCookie not encoding the key and value. Fixed animated thumbnail being offset slightly. Added a preload feature to the animated thumbnail so it will load the next mosaic image before it's shown.