void ShowErrors(CompilerResults cr, string codeStr) {
StringBuilder sbErr;
sbErr = new StringBuilder("Compiling string: ");
sbErr.AppendFormat("'{0}'\n\n", codeStr);
foreach(CompilerError err in cr.Errors) {
sbErr.AppendFormat("{0}\n",err.ErrorText);
}
Utils.Print(sbErr.ToString());
}