Bounds checking for array insert.
Minor updates.
Merge remote-tracking branch 'origin/master'