added guards. no assert got triggered if --mpirendermode is used w/out bonsai_driver