improving delete handler, adding support for date module date fields, cleaning up notices