Significant progress made. Added preferences and logic for handling and showing trashed notes.