commiting changes from last sesh.
removed the graph.
section detection script working very well.
section titles are switching properly.
cleaned up code and made it more reusable. Adding section specific tweaks now.