Update Fancybox to the latest github build for testing and compatibility.  Fix some gallery functions.  Code cleanup.  Prepare to clean up the gallery thumbnail animations.