added a warning for ignored attempts to overwrite ingredients. fixes #52
fixed bug where sometimes captured output would not be saved to the database