Fix gtk interface issues