First batch of refactoring after reviews
First batch of refactoring after reviews

- reorder widget creation to get proper tab order
- rewrite event handling for radio button groups
- make widget event handler functions function-local

marcelstoer/nodemcu-pyflasher,marcelstoer/nodemcu-pyflasher