Fixed some issues with team locking
Other minor fixes
Reformatted some files
Other minor AH fixes