finished kqueue except signals
Finished kqueue, minor tweaks necessary