Committed fix to 1.4 branch, will be copied to trunk next time hybid merges them.
The gui environment is grabbed by the scene manager on creation and dropped during destruction, so it was a one-line change with no chance of side-effects (like cyclic references or bad pointers). It might not have been, I didn't investigate it until now because of a lack of time due to doing paid work and also because my local trunk repository is in a bit of a mess at the moment.
The best way to speed up bug fixes is to describe the fix better, show that you've already investigated the problem and say why you believe it's a one line change with no side-effects, post a test case.
I'd commit a one-liner by vitek or rogerborg with minimal testing as they've proved that they are capable of submitting decent, well thought out, well described fixes. You're bound to get put to the back of the queue if I've spent hours and hours trying to find bugs you've reported in the past with no joy