fixed the in-game state template
starting to add support for bonus rounds; some babysitting is required