Renamed search->filter, login gets event-ch option.
Cleaned up event handling.