Fixed .grabhistory. We now have a temporary file that keeps track of the most recent history and a file which keeps track of the entire history