neater programmer stuff
Add parameters was missing support for 'default value', added it. Also added dynamic aspects when type is set to flag, etc.
Add parameters was missing support for 'default value', added it. Also added dynamic aspects when type is set to flag, etc.