Tidied up course_details renderer
Improved action handling
fixed up resorting of courses
Phew