Parametrize FlamesThread to take a sequence in the constructor