Fixing category labels
Minor - adding comments
Minor fixing api_get_course_url() function