Added -D delete_allfunction. Also fixed unnecessary error output when ~/.memo does not exist