Remove cruft in gui_component.h and improved its documentation.