Update environment.cc

Patches to the Core source to enable the user-selectable "transparent background"