Fixed login in bubbler on/off output

also moved static variables into loop()