Remove unused variables
Fix signed/unsigned comparisons
Update .gitignore
Use int32_t for HashIterator ticks
Check for overflow of VArray size