Add core_soft_limit and core_hard_limit options

Does what it says on the tin.