i have an XKeyHandler attached to thiscomponent.currentcontroller that executes a largish amount of code. i suspect that sometimes – like when i fumble-finger the keyboard – it is stepping on itself. i have added a variable lock = true at the top of the function and set it to false at the bottom, of course testing for state before entering the meat of the function. is this necessary? it there a built-in way to lock? or is it completely my imagination?