Yosemite changes for compatibility plotFlashingStim2