Added gogui features to PatternPlayer.