Hi all,
having just read the string on 'bloated' cockroaches I thought I'd add my thoughts. The 'worm' emerging fro the male Gromphaddorhina is part of the male genitalia, referred to as the 'genital hook' or 'L3'. It is an eversible tube with a short sclerotised hook at the apex, the shape of which can help to identify some species complexes. If you squeeze hard, you can make this tube 'pop out' of most members of the Blaberidae. The genitalia for the other families do not have this tube, but a similar and more sclerotised hook.
The cause of the bloating is probably bacterial. One of the major causes of such problems is: Rickettsiella which shows itself by distended swollen abdomens, and towqards the final stages of the disease, white matter oozing from the tergites and sternites. The white matter is the infection of the fat body. Since female cockroaches have more fat than the males, the disease is more obvious in females. After the roach is dead, perform a post mortem (send an image), if the body is full of whitish gunk, Rickettsiella is the likely culprit.
Another common species of bacteria called Serratia marscescens Bizio, is found naturally in the guts of cockroaches, but can also cause death of entire cultures. This is readily diagnosed, since cockroaches affected by this often have the paler regions of the body (i.e. intersegmental membranes) coloured pink.
cheers
Darren