Adding the icon to the main form.

Closes #554.