Small GUI helper functions with comment blocks in them