Introduced a bug by deleting debugging method. Re-attached right-click listbox events to dummy (yet more appropriate) functions.