Warn about conditional return and add script dumper

The problem is that since 'if' is a function, the 'return' action
is executed *before* the recursive return. This messes up the stack.

Sooner or later I'll be able to fix the scripting language properly,
but it's probably a good idea to goto L_Return to clear variables anyway.