#7 refactor game events. add pause panel