added getLastTarget() function to Control.g, added iloc for assign, plus.