Improve control over metadata linking errors and some syntax coloring