Do some refactoring of the game event system. Also switch to using a select statement for channel polling so we don't deadlock.
Do some refactoring of the game event system. Also switch to using a select statement for channel polling so we don't deadlock.

pikkpoiss/twodee,pikkpoiss/twodee,kurrik/twodee,kurrik/twodee