Added moving average and version checking.

Added moving average to the profit graph.
Added version checking so users can keep up to date without much effort.
Added custom scroll bar to allow selection of start and end times for
graphs.