[runtime] Fix some typos.
[runtime] Clean up formatting of if/else/for/while.