WriteEventHandler added. Client (hopefully) finished.