Notebook updates

Fixes #129
`message`, `stack`, and `index` are declared multiple times in this scope