Addapting findFunctions for use with nextInstruction
Merge remote-tracking branch 'origin/byebyeblock' into byebyeblock
findFunctions should be working with nextInstruction. Tree still needs updating