Refactorings. Open/New/Save notebook implemented fully.