misc: ui code cleanup part 1 out of 2

+ Added empty lines to match the rest of the code
+ Added whitespace for comments
- Removed unnecessary lines
- Removed unnecessary commentary and a whitespace
* Uncrustifed the files

-*S