added fancybox and some minor bugfixes