Use system() instead of popen() and fix readd gtk error msg