Added doc for GUI functions