Started work on an image grabber that can fetch an image, write to the server, encode it (needs work still) before deleting it (needs to be done) so that it can be sent back to the javascript after it has been deleted. All in the hope of ensuring that the copied image is only ever temporarily stored.