Altough some minor issues remain, this should fix the general problem behind issue #99. Anchors are now working again in a more or less reliable fashion. This must be tested and adapted for the beta release