Implemented thread counting

As the topic says. Adding some colors to haxxify it.