fixed duplicate writeline

fixed a duplicate writeline in the status word encoder
fixed duplicate writeline

fixed another duplicate writeline - this time in the cmd word codeblock