fixed loop logic
fixed comment
fixed ScriptEval return status
added stop/start/reset for behavior trees