1) While you are reciting, moving is not allowed except when a person standing for next rakat and says Be Hawlillaj wa Quwwatehi aqoomo wa Aqud.
2) If you recited tashahud in third rakat, namaz is correct but after the completion of the prayer do sajda e Sahv for and additional Tashahud.