Made dispatchEvent debug msg more verbose.