Proper cscope

Fixes #48 as good as it's going to get right now.