Remove dead code.
Add -feventlog flag.
Eliminate idle CPU consumption of vty frontend.