Merge pull request #5837 from leoetlino/auto-pause WX: Automatically pause the core for the JIT menu items