Added a showHeaderOnEmpty config option