update gui functional tests (and fix a couple bugs)