clean up subrequirement GUI code