catch stderr and pop it in error messages from the GUI