Fixed scheduler empty queue.
Fixed networking, not working as expected.
Fixed travis compilation.