U.S. President Barack Obama early Wednesday thanked every American taking part in the presidential election, saying "the task of perfecting union moves forward."