Fixed issue #20 added domain option. And fixed some vnc viewonly option errors.