Cursor prep recognition was broken

If the source string used to prepare a cursor does not get initialized
within the current function, we cannot retrieve that string's contents.
This is what was causing an infinite loop (and memory leak).
Fixed outlining with the new multifile logic

Outlining was attempting to outline based on the function positions
found over all program files, not just the one we're in.