I've added some general fixes for when the mine reaches the border then it'd upgrade to the next type automatically. You can turn this off by disabling it via the borderUpgrade option in the config.
This also fixes the bug of when the mine wasn't filling the full region after a restart.