pothos-gui: work on error handling