Added textbar to PileView and cleaned up PileView