Added Thread, made UI look prettier