Check for existence of anchors before linking

Also reorganise to make it easier to add equivalent code for FireQOS later
Spelling check
Import services index
Add a bit more semantic markup