Add check for missing data in group and items.
Rework handling of pause menu and screen switching.