In allocate() only query native type size when needed
Added some comments
Merge branch 'incoming' of github.com:lptr/emscripten into lptr-incoming