last batch of changes and fixes based on the libFLAC++ unit tests