Added default for moduleState.

Note: if no default is provided to paramHelp, when the variable is linked then its value is overwritten.