Fill in default values for all inputs for fast re-connect.

Depends on #27, please r+ and merge first