Multiple notebooks

* Diff works for multiple notebooks
* Merge works for multiple notebooks
* Finished shutsdown the server
* Some error handling for previous/next notebooks out of range