Fixes bug with onsite classchange grid

The print_schedule() function was overriding the global 'data' variable,
which has all of the class and timeblock data, making it impossible to
do anything after printing a student's schedule.

Also speeds up loading of the onsite grid by avoiding the unnecessary precomputation of all student grades.