Fixed a bug where threads would not stop whatever they were doing when
the stop button was pressed. Began work on getting advanced statistics
from the API