small fixes

fixed some parsing issues and increased the usability of the Goto
Declaration command.