Added component.name/active to traits + fixups

Specified parameter.value better, and fixed bug in when
store_current_value_in_array was called (introduced last commit).