Optimization of the Dialogue script. And update of the newgame scene.

Requested crazymoogle to revise the initial commit. Performing a pull request to incorporate the new optimizations into the master branch.