Replaced all tabs with spaces.
Barrier test keeps timing out when being used with Boost, so adding some more printing to let us know where it's happening.
Added deletion of testdir between tests.