-Added a bypassMenu function that can be used to cancel the context menu as it is just about to appear.