Made a new patch, with the fixes now im using size_t to handle size, also ensuring we dont add a null object.<br>