Simple thread parser