updated styles, added thread controller