Added some debugging to figure out why settings changer is not closing properly.