added support for subtitles; make header, title, and subtitle respect alignment settings consistently