Can't really remember what I did here.

The difficulty algorithm thing's in there. I think I shifted some code around for the state and the updating of the level and the score and that. Look it's working, let's just leave it at that.