Added threading to display