improve update panorama;
add krpano flash player to view panorama;
add some checks; clean up code;