Fix sizing of element icon.
Add signal for emitting errors.
Fix change from gradient to solid color.
Improve identation.
Add dialog for error messages.