Made a few changes to MainGame and PileView