Added support to delete a note through a long press context menu.  Moved around some functions to group them more logically