Fixed exception with multiple pages (fixes #26), fixed position of notes