Bram,
I've been lurking on this thread for a few days wondering if anyone would run with Larry's comments about vibration.
All the effort on tanks is worth investigating but a tank is a pretty simple mechanism that seldom gives or solves problems as long as it is free of leaks and doesn't vibrate.
I'd look at a couple of simple things.
I noted in your first message that you had "added a shim for a better 4-2-4 run". That was probably a bit premature since you apparently didn't have any kind of run yet. Couple of problems with that.
When you reduce compression by adding shims you also retard the ignition timing of the engine. Our glow ignition engines start combustion through a combination of three basic things: the volitility of the fuel; the ignition spark of the glow plug and the heat of compression that is a substantial part of the ignition process. Almost everyone has experienced the engine that starts up while being choked with no battery attached. All the heat to start that ignition came merely from squeezing the fuel air mixture...just like a diesel.
When these three factors are neatly balanced the engine runs clean and powerfully. Alter any of the three and the run will "change". It might get more powerful, less powerful or even quite if the change is extreme enough. Altering the head compression ratio through shim changes should "only" be done as a fine tuning mechanism when you want to make a subtle change in the run...specifically, to alter the point at which the load on the engine causes it to change from a four to a two stroke for instance. Changing nothing else, adding head shims will delay the break from a four to a two stroke and can, other conditions being right, allow an engine to run strongly and never break into a two stroke.
The key phrase is "other conditions being right" and that's what you've got to determine before you start to fiddle with it.
Run this test the next time you go flying. Start the engine up and leave the battery on until you get the setting you think you want. Ideally, use a tach to monitor RPM. When satisfied with the setting, remove the battery and listen carefully to see if the engine loses revs. Check the tachometer again.
If you've lost revs when the battery is removed you're looking at an ignition timing problem that could be the root of your problem. This could be the result of too little compression reducing the heat of compression and retarding the spark so that under load its got to be running pretty lean to get the revs you want but, when in the air the prop unloads and allow the engine to drop back into the four stroke.
First thing I'd do is take out the additional head shim (by the way, do you have any ideal how thick that shim is?). Put the head back on and run the test again. If you don't lose revs you might be right back in the ball game.
If it still loses revs, make sure you are running a hot glow plug like a Thunderbolt RC Long or four cycle plug.
Finally, you could use a higher nitro fuel but this shouldn't be necessary since the European engines are intended for use with no or low nitro.
Vibration can cause all sorts of funny engine run problems. Check the standard items such as prop and spinner balance. Add a couple of squirts of ArmorAll to a gallon of fuel to reduce the foaming. Very important, make sure the needle valve isn't vibrating. If you're using a Super Tiger type of collet supported needle with no spring retainer make very sure that the collet is tightened to the point it takes some effort to turn it. If the tip end of the needle vibrates you will *never* get a decent run.
Finally, if there is not perceptible vibration you could still have a harmonic situation that will cause a very short amplitude high rate vibration that might not be noticable but will still cause fuel foaming. Trying props that require significantly different RPMs will alter the frequency of the front end. Brett Buck suggests adding mass to the tank...maybe a half oz of stick on lead, for instance.
Bottom line, I doubt very much that plumbing is causing the sorts of problems you've experienced. I'd look hard at engine timing and vibration.