MouseTrap 2.0 is in the works. :-)
I might try to use a motion capture program instead of a timed capture. I've been using a capture program called 'mvc' written by someone called Merlin. Sorry but the links to it seem to be broken, but the program works great. It detects motion, and takes a snapshot. It needs light though, unless you have a cool night vision camera. It won't take a picture, unless motion (or a light change) is detected.
I put a copy at mvc-0.8.9