Hello,
Sorry but I cannot accept your approach. I have 18 plugins on my WordPress website and i do not have any such problems with other plugins. I think your plugin should be simply more versatile and adjustable to various codes and options, not the other way round.