removed g_b prefix from global bools.