That makes sense! I was unaware that there were different versions of the PennController and I will leave the debugger on from now on until publication of the experiment.
Wow, thanks for the quick response! This is exactly what I was looking for (and thanks for simplifying my code, I was indeed having issues with callback when I was trying out other ways of attaining this before).