Reworked error handling into processing algorithms

Reworked error handling into processing algorithms + some editorial changes.
* For icons, using sizes instead of width and height (closes #99)