Change renamed `new_buffer` function
Update keyhandling with latest version and add curses workaround
Update to avoid running into key mode tables when hijacking