Use #ifdef properly.
Fix arrow key handling when in forked mode.
Pass along input from the console to cheripoint.