Fix wire drag resizing bug, remove trailing whitespace.
Add copyright notices where due.
Fix sheet_get_pointer() if clause, add more documentation for Sheet functions/methods.