bootstrapping with mr now works. Bugfixes.