Fixed some issues with course loading.