i think that the mousehit(x) should only be true if the mouse has been hit in the current loop. It's more practical.
that *could* cause problems for people, for instance if they want to count double clicks.
I think a flushmouse() command would be more sensible.