Fixed modspy, wallcounter

Replaced the delay based system since it was unreliable.