Added optional alternative to readline.

SEGFAULTs a lot.