Changed gui behavior when there is one search result

Automatically selects the first result if only one result
exists.
This helps the user save time.
Moved status to a more intuitive and visually apparent place
Cleaned up code for readability

Removed a couple comments
Made a long comment multiple lines.