main: Register UserListHandler before generic_recv, so it happens first
editing: Have ^D raise EOFError
common: implement instanceclass decorator
editing: Make a hide cursor context manager
main: Use scriptlib to pass in overriding options.
main: Fix bug in error handling