Improve load script logging.
Restart the database monitor thread if the database goes away.
Include inline attachments when dumping models.