Added new method to handle player events. Still some bugs with the SPF, but it works much better now.