reenable autosave.  fix #1699
Fix for #1690: Clean up msg_repository[].
Fix for #1691: Reformatted Greater Maia description.
Fix for #1708: Correct comments for X: in p_race.txt.
Fix for #1709: Use isMainWindow instead of isKeyWindow for detecting
front-most window in main-cocoa, and don't try to change font for
non-Angband windows. Also update the font selection panel when windows
become main.
fix crash in reset layout command in initial screen.
make the return value in some new chest test functions have case consistent with rest of the code.
make prt_map() a bit more efficient.(probably: in the worst case, in text mode, an increment and a failed test >1 becomes an add with an assignment.)
continue destroying externs.h
more externs.h destruction
Merge pull request #205 from fizzix/autosave

reenable autosave.  fix #1699
Fix makefile dependencies after elly's changes
Fix up elly's refactoring missing off an extern in monster.h and thus stopping any monster generation from taking place
Fix object visuals dumping bug reported at http://angband.oook.cz/forum/showthread.php?t=5864
(cherry picked from commit 545691a9fc053a72a43108985bd68a2a113a3095)
* constify borg_wield_slot() [note: this should just use the normal wield_slot()]
* refactor the borg ID routines:
  - take into account the fact the game hasn't had weak pseudo ID for four years
  - clean up a lot of code that has not been kept tidy over time
* (hopefully) fix ID routines getting confused about which inven/equip screen the game is on
(cherry picked from commit 4589bc2c1edd7a13b3744540b4efb424e81e5554)
Fix instances of msg(NULL) -> message_flush().  The former caused crashes in vstrnfmt.
(cherry picked from commit 85fd554043d3a816e20faa52beefa1d279d45805)
Be more helpful when reminding the user where their borg.txt file should be.
(cherry picked from commit b4a0e7eed5d829f426161d49cd2cd98ec8b74168)
Fix rubble digging and refactor relevent code a bit
(cherry picked from commit 2d1e1e00b520adefd2e42864df8f8a8a238de457)
Get the borg help working (Ctrl-Z ?).
(cherry picked from commit 34076044187584dc9668c21ff6d09b581cbaee78)
The borg fails bigtime when lazy movement is turned on so the borg will now turn it off when it starts.
(cherry picked from commit b79477ea4da3b11258109a8606ed216067ac24fb)