Dynamics And Phase Separation During Spin Casting Of Polymer Films