Beginning to render the output for queries
Set the same desktop icon as the icon name for the main window
Avoiding a few run-time errors