Small fix to stop PHP strict complaining about calling a static property.

This just fixes php from complaining that whilst the $event_callbacks was declared statically, it was not being called that way.

No effect on usability.

Also a few erroneous spaces seemed to be removed when I code formatted the file.