Fixed some linking issues.
Fixed a slight mix up in the MATCHWIN events.
Added useful indexes to all the log events.