started engine debug.js, fixed multiple possible crashes