Fix some typos and other small bugs, should be able to index big projects now (though still not perfect)