added additional output with buffer information that can be switched on with a commandline parameter.