Added title to graphs and did some minor cleanup