Added pausing to gameplay.