print_section now uses cached course modinfo to lessen load in database