Changed event handlers and reduced size of graphics.