some fixes to the match controller algorithms
merged in dev
Merge pull request #33 from DogMatch/fixes-paul

Fixes paul