don't show destination unit options for 'spell_cast_start'
add some code to debug generated functions