fixed adding of players
when the adder is not in a team
also reformated a bit
Fixed a case where a team member could set the team ready
instead of only the team leader
fixed a npe
when someone without an team would try to leave it
Refactored some code, where multiple messages where sent
also reformated a bit