FIX: improved console line endings support for non-Windows platforms.
FIX: Q short-cut put back (when in console only).
FIX: minor console code cleanups.