Implemented ability to filter stat sheets by team. Also some code cleanup.