Permitted return expr in loop blocks.
Fixed problem to not terminate at while-loop.
Merge branch 'id/10'