Added some variables for headings and text selection and updated inline docs