shorten readme extension, add optional callback to copy function, fix broken paste function