handle threads safely now

removed console