Adapted to changes in the NotebookManager API
Progressing with the notebook interface

 - Adapted to the latest NotebookManager API
 - Parameters passed correctly to the kernel
 - Notebook manager opens file only as long as necessary

All write access to the ActivePaper will have to be moved to the
kernel process to avoid file locking. The notebook manager will
pass notebook save requests to the kernel in some way.