Fixed a few bugs. Added preliminary search stuff for teams.
Fixed a few bugs. Added preliminary search stuff for teams.