Use table indices as IDs

This significantly optimizes a lot of operations and removes redundancy.
Revert "Fix possible hud vector error"

This was fixed upstream in builtin.
This reverts commit 1a8efa991661485b32b0c337e1fd1f43506cf16b.
Move the HUD display up to not cover the hotbar
Fix /find_areas invalid regular expression crash