Dealing with Islamic terrorists, and with Afghanistan