core: get rid of lambda in processor thread.
core: there's no need to handle processor thread by pointer (its state can be distinguished by joinable() method).