A little tidying - part 5

Fixed some issues with lesson_new not linking to the renamed lessonsa
page, and also exiting correctly after setting a new header.