Fixed Wiring AGAIN, lastTerminal improvements

BY MARCOS