Thanks for the report! For the first issue can you try updating the wasm-bindgen tool and the dependency? I'm curious if that was a version mismatch going on perhaps.
For the latter issue I'm digging in to see what's what!
Originally posted by @alexcrichton in wasm-bindgen/wasm-bindgen#113 (comment)