Random Event logic rewrite and control lock fix

I fixed the logic for random events so that it makes a little more sense
and triggers them less frequently.
I also fixed the control lock functionality; it should appear
immediately as the computer begins their turn, and it is now always
above the rest of the board.