Added proper threading to HistoryPlayer