working cross-references

Now you can have internal cross-references between levels.