add netctlgui.h
rewrited some functions