Make sure CurLine has a length of MAX_LINE (4096)
Merge pull request #12 from steino/fixhistory

Make sure CurLine has a length of MAX_LINE (4096).