I made the credits end with a congratulations method that remains onscreen until the player quits the game. This removes the need to fix the bugs caused by restarting the game after the credits finish rolling.