Added a default of null when nothing is selected in a datalist. Added better event trapping to the context menu to try to prevent events from triggering below the menu.