Forked Script.NET sources from 2010, adapted for CliMOO usage