#7 updated display layout to give more room to the topics chart
to be continued, work in progress
#7 performance optimization
got rid of un-necessary loop