minor changes by JLY to some stuff. LNK changed genGaborPhases so it does not draw a revCo trial if this is a signalTopUp trial. backwards compatibility verified