Added error checking for student changes
Fixed several bugs that fix data corruption issues and make multi student support better (fixes #21)