grapher:
Refactor cmds in gpCmds
Refactor widgets in gpWidget