Add problem difficulties
problem.done = true when submission is OK
Restrict window close
Add bonus problem