Use 0 as inert object reference value instead of -1

Towards using Null object for nil objects.
1 file changed