implemented threading in senddmx