remove some warnings.
set validators to limit input on local address and ports.
create gui-config.json if not exist.

and rename a variable.