Fixed insertion point
ifdefs for debugging, improved anchor deletion scheme