Fix uses of uninitialized variables

- Replace unknown008 array with two separate variables in Object code

- Fix mismatched safe_delete() of an array