Added vector iteration protection.

Prevented menu vector itr from going out of range.