CLEANED UP: debug code for background clicks