Upload.php, messages added
a notice with mime-types is fixed
small changes in CourseManagement.php and MainSettings.php