Fix href path calculation for non-root paths.
Improved startup logging for annotation parsing