added chkSel stub function and adlibregister call to the function to check the selected text
finished chkSel function, need to test
commented function