Fix dropping an unequipped item.
Refactor ItemView.

Mainly to fix a bug where you could select a bad index, but
also generally cleaned stuff up.