Added safe version of ArrayInsert.
Continued to work on farming mechanics.