Moved buffer IO functions into the `io` module.
Menus and key bindings do not need `events.INITIALIZED`.
Use `events.ARG_NONE` constant instead of string.