add getRelatedManager method to player events
split spawn add and remove events into pre and post events
minor code format fix