more work on editcourseframe layout