Implemented thread display and a few minor cosmetic changes