launch main process: fixes

Addition-to: c9cec99c4c11a6c153f3fa4c11ee00e4518f85f1
Signed-off-by: Oleg Verych <olecom@gmail.com>