Fix misc errors in glade, that cause warnings on target