finishing updateDom, working a bit on pig.js turnController