Review GUI and style search mode elements
Trim extraneous newlines