Set header/footer in the file, not dynamically in the database; commit synced with https://github.com/cusu/bob-gui/commit/a0c1b038e620e7f5fbf754798d9bd63a047440c4