Epoll, rename to nix, misc cleanup