Removed trailing spaces and fixed subtitles in the doc.