debugging GUI comm on Python side