Added ring buffer for last headings.