Added "nobubbles" method.

Fixed implied global.