Bug fix: prevent empty messages from saving to database
Gulp finalize