Removed thread ID and Name vars.
Added four output commands.

Two commands for two relays and two commands for two outputs.