Profile stats refactor and match rejection bug fix.
Merge branch 'development'