Adding pause and unpause
Adding the refresh mechanism to the animation engine, many things needs to be fixed still.