Implement kqueue EV_WRITE.

Cleanup softc structure.