Added threading to run background music function while program continues