Added description of eof variable. Updated description of error actions.