Fix text aligment for bubbles and a global variable leak.