Small blockly fixes (While and Scan)

@kadst43 Edits made according to punchlist