Enforce some more const correctness.
Make this a dll.
Add a file I forgot.