Add "inspect" command.  Misc bugfixes.

Signed-off-by: nppangband <nppangbanddev@verizon.net>