added handling for subtypes (e.g., AoD functionality), fixed misc glitches regarding subject KML and image paths in fancybox