Remove mcopy from ExecOutput

All methods used in ExecOutput are now static
Change local variable 'gui' to 'ui'
Use StringBuilder in ExecOutput