Multi-threading support for the NN for each channel. Still a segfault somewhere during run() of NN.