Fix formatting issues in ported ui/ code

Signed-off-by: Don Naegely <naegelyd@gmail.com>