Added the ability to be able to limit the number of island resets.