Put back some global logging messages that where lost in the big merge to mainline.
A few more memory clean ups.