[GLIBCXX_DEBUG] Misc. array handling errors

To reproduce:
* Change DEBUG line in makefile to "DEBUG = -g -D_GLIBCXX_DEBUG"
* Recompile.
* Pick up two rocks and a stick.
* (optional) Unwield stick
* Try to craft a hammer.
* Hit two crashes in a row as it tries to consume the stick and then the first of two rocks.

Notes:Added other stuff that I crashed on.