Added preliminary hit testing. Makes regedit.exe happy ;-)