Don't lose all unresolved symbols.

<Undefined> can skew the results, but need to try and see how bad it is.
Fix-up include_marked_files.
Added license. Not that anyone ever wanted to use this code, but anyway.