Added pause menu, pause & resume functionality.