[.. broker 'losing' every 2nd message.. ]
Oh I just thought of another possible cause (related to the first one): You might also startup a second broker named localhost (vm://localhost) if you have renamed you actual broker to something else and use the WebClient. There's some (IMO weird) code within the WebClient that will use vm://localhost under some conditions, which will result in a second broker beeing started.
Hope it helps Mario