-add external method to set preferred vncviewer
-correct some errors