Adding alignment options for title and headings, fixes #2