Changes to allow background loading of stats into the Graphs Tab
Fairly massive changes to the graph tab and all of the underlying classes
in support of it. In addition to all of the Graph related changes:

+ Minor code cleanup in several classes
+ Better error handling for login failures
+ Better error handling for communication failures