Add process_world and supporting code

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