api changes: added history to events, input unified for mmap and char pointer.