A fix to the build and the jump-to-definition feature. Fixes #544, fixes #633

Fixes #544, fixes #633
I still need some way to pass the EditorColorizer to the function.
Also, I want to switch to the code tab only if the procedure has been found, and not just jump there to say 'nothing has been found'