Added channel markers for listeners and multithreading