keep track of the last inserted r-tree value

this makes sure that the removing always succeeds regardless of the current vehicle position
added a ton (21 to be exact) of new natives
fixed wrong initialization value for paintjob variable