Added escape-exiting functionality

When user presses escape on stats page, exits stats page