added support for subtitles; alignment fixes

made header, title, and subtitle respect alignment settings consistently