Added an include for the boost threading stuff.
Replaced '>>' of nested templates with '> >'.