Update control.lua

fixing sign table insertion and iterator used for it