Removed 'hr' and added bottom border to notes. Also finally fixed the logic for creating/removing notes from the DB and how that interacts with the popup.