I've blogged almost incessantly about the terrorist threat posed by Somalia. Actually I wrote one post 4 years ago predicting that it would be a problem but even so I believe that I was right and the terrorist attacks in Uganda by Somalian Islamists would appear to bear that out.
More serious from our point of view is that, as Ed West points out, if Somalian militias are going to strike outside our borders then we have a problem. You can argue that the solution is to simply stay out of Somalia and therefore not provoke them but with the piracy and harbouring of Al Qaeda suspects that may not be possible.
The most prominent Somali exile in the West, Ayaan Hirsi Ali, has repeatedly stated that the clash between modernity and traditional values keeps that community isolated and that we, the West, have to work to assert the value of our own values and not go in for the multicultural hogwash of pretending that all cultures are equal and need to be conserved. Otherwise the social and economic statistics will continue to tell a dsimal story and will fuel terrorism.