made all tests run on each frame render so setTimeout is only used for flashing where timing isn't critcal
merge pull from steph 29 Jan 2013 4:07pm