Tweaks on loopback.pl example

For me, it didn't work without changes, so I've added tweaks that provide graceful fallbacks for what I encountered as problematic. And some more...