We do this by debouncing wakeup events sent to the main loop by the I/O thread. Use in the input_delay time to debounce. Apparently processing wakeup events is very expensive in Cocoa. Fixes #1082
nth_window
action that can be used to go to the nth window and also previously active windows, using negative numbers. Similarly,
goto_tab