Added onEndMatch (needed for matchmaking) 

.. untested