Set buffer cleanliness when popping to REPL

RE #47