Various improvements.

- Support for constants.
- Use of shared headers.
- Improved detection of changed linkroll sites.