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

Fixes #544, fixes #633
if the jump-to-definition function can't find the procedure, it shows a message saying nothing has been found. I want that in this case no tabs switch will happen, so I need some way to let the Tabs know about this. But I think I got a solution, return a boolean!