Renamed Type to PType to avoid potential code confusion
Removed a bunch of unnecessary crap from ThreadGroup
Added a few improvements to ThreadGroup too