Add "spike" command, plus code cleanup.

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