Cleaned up readline.  Still buggy.