Fixing project.

Mostly fixed issues with the interval tree.