Added function to focus back on the main MATLAB window shortly after the external programs begins running