Bugfix: free did not work  when using coalescing

 - local variable "threadcount" did shadow a class member
 - better syntax highlighting in my VIM would have made this more
   obvious :(
 - `-Wshadow` would have warned about it :(