[powerdebug 09/14] reduce scope and make win_names static