Just flicked through the points John, thanks for that. I can see exactly where you are coming from, but as always, those with nefarious intentions, always find a way round the rules (article 19); and this is why all those romanians that stand on the street selling the Big Issue, and claim to be self employed, are now being targeted.
I believe it was article 16 where we were told by the EU that as benefits weren't means tested for the British, then this couldn't be applied to immigrants.
Article 23 is where we can't deport immigrants as they are entitled to a home life, even if they have done harm to public.
Etc Etc Etc, but in essence, you make a very valid point in that it's the UK government that's making as much of a hash of things, as it is the EU in telling us to bend over etc.