yeah couldn’t get to work either. I think its as you say you call the UI actions in the child threads. A3C kinda overkill for Cartpole anyway try another environment 
you can try my a3c repo out here if your interested: https://github.com/dgriff777/rl_a3c_pytorch 108
Has the top scores in openai gym Atari games