slug: avoid flushing an empty slug.
release: 0.2.4.
slug: a much better solution to invalid flushing.
release: v0.2.5.