I hope these questions aren't getting tedious. So I'm writing another context-switching function (based on another suggestion), since the one I used before clearly didn't work. My new function is this ...