links are finally enabled now, lots of related debugging/cleanup in the process