Added background, fixed a major bug that caused many identical threads to run at the same time.