Use classname "CoursesFrontEnd" rather than static in closure

I'm guessing the bug was being caused by my use of static in closure, since its internals are not in the same scope as the rest of the object. I've now switched it to explicitly reference the CoursesFrontEnd class instead