Register student assume run code is false when it's different from the run code that was entered previously. This handles the problem on windows when you copy&paste the runcode and it calls checkRunCode twice.