Fix hash calculs error handling in gui