fixed problem when recording job steps
refactoring removed using namespace
fixed broking error on TMS SED
misc fixes in TMS SED
 * fixed pipe blocking with empty message after successful submission
* fixed the filling of job outputdir