[DW] print process output to stdout
[DW] unified output, general refactorings