Encoding fix
VNC client refactor - fixes, javadoc and junit stuff