Add runtime entry points for 'break' and 'next'.
Add missing #include statements.
Mark unique_ptr as const to ensure that its ownership never changes.
Fix some object lifetime issues.
Generate inline code for handling 'while', 'repeat', 'break' and 'next'.