GUI: Fixes to code formatting

Fixes to issues with white space before and after operators applied.