Added some contract checks based on suggestions
Merge branch 'CUL-4.0' of https://github.com/JaCraig/Craig-s-Utility-Library into CUL-4.0