Fixed event handlers.
Adjusted icon preview.