Enable KEY_ values to be detected by getch(), although this is not guaranteed to work.
Indentation fix.
Merge two conditions and use symbolic value for newline.
Process the entire keyboard buffer at once for natural typing of the log filename.
Merge next_bit_gui() and next_bit_file() back into one function.
This saves significant code duplication.
Initialize the empty string properly, '\0' gets translated to a NULL pointer with clang 3.4.
Update README.md
Simplify end-of-line handling when reading the log file (and accept \n\r )
Merge two fprintf statements into one.
Only handle key input and status bar in GUI mode.
Redo fd96598a1157d189407c25db4d596bc38e5d2cc3 which contained a bug:

The EOM marker was seen one bit late, causing false too long minutes.

While here, explain why the \r and \n in the switch are needed.
Allow for B\r\n and B\n\r in the input log file.
Make condition for "OK" in display_bit_gui() more explicit.

Remove excessive spaces from the field.
Display GETBIT_READ as an error.
Move field for timeout and IO errors to the left.
Make main_win 2 lines high and update existing code to use the bottom line.
Reuse the old log filename if the new one is "."
Show the old log filename in the upper line of main_win when pressing 'L' and remove it again when a new filename is entered.
Fix rendering of "txcall", "dst", and "leap" lights.

While here use the full width of the "long minute" light.