Added LoopChecker to WinChecker
- Still has a case where the check fails
- Modified other files, mostly making some functions static