Added updateSnitchCatch function
Added updateWindowScore function