updated viewer for windows and pcl 1.6 compatibility