Fixed a looping submove bug. Appears to work well overall.