removed gtk threading