I can't comment on much of the code, but at least getting rid of the KAccel stuff is the right way to go. Cheers, Ellis