Instructor dashboard UX and code cleanup