Correct a compilation error
Set icon to the main window
Load icon
Corrected lint warnings