Added better error handling to the input fields in both the Courses and the Assignments tabs.