Fixed bug with geometry changes (or at least found a workaround). Note that simulation now starts in preinit state, so all macros must call /run/initialize.