fix DataURL export
cleanup
use 3rd party base64 and uuid modules