simplify while case
add debug_expr
fix return return generation for switches
minor fixes
isInstance should be isinstance
fix array_get generation
minor fix
Merge pull request #18 from frabbit/genpy

some improvements