added quit event handler to main and updater/win_checker to the board