applet: clean up QML/JavaScript; fix signal handlers
Explicitly specify arguments in signal handlers
Injection of parameters into signal handlers is deprecated. Use JavaScript functions with formal parameters instead.
Clean up QML/JavaScript
- use strict equality operators,
- clean up whitespace,
- fix up import aliases,
- use int type (instead of real) for tx/rx bytes counters.