Gui : removed unnecessary functions.