Validation functions improvement
Because we use extension to add show GUI instalty we have to validate
data before sending to convert, calligra or inkscape

Try catch errors now prints errors on console and sends information to
user on GUI