UMD build, bugfixes