updated to new gui framework setup