Some debugging for the History stack
Clear history when opening new book