Fixed disappearing threads with sleep(1) -> usleep(0.95s). changed comments etc.