buffer/fromgplus: Some more loop prevention

* The buffer addon now contains some more checks for loops. Additionally the export was improved.
* For the loop prevention the "extid" is now set in the fromgplus addon.