Rewrite script interpreter, to improve executing speed.
Authored by: utunnels 2007-03-22
Parent: [r638]
Child: [r640]