Fixed memory leak when leaderboard/achievements opened multiple times.
Restructured the example.
Merge pull request #10 from wcwynn/v2.3

Fixed memory leak when leaderboard/achievements opened multiple times.