Cleaned up the application, added captions to graphs.