fixes #2, fixes #8 Also managed to hide the panel with Err msg when all is ok