trim whitespace from notes on insert
parameterize/transaction-ize deletion