Fix printing of error.
Pass right variable.
Copy LICENSE.txt over when tearing off.
Patch and diff works for D7 core now.
Tearoff fixed (that was easy?).
Finished core support. Closes #5.