Updated logging in viewGui