Added pawn decision method, modified some other decisions.
Merge remote-tracking branch 'origin/origin' into origin