Refactor and tweak the borg's logic for deciding when to light an area.
Update comments in borg_activate_artifact and refactor so it's a bit less convoluted
Make the borg use the main effects list instead of its own.  Its own was out of date (I noticed because it seemed to think the Phial had the Clairvoyance effect!)
Remove the last of the unnecessary/insecure setuid stuff from the borg
Remove unused code
Use borg_keypresses() instead of having a manual loop using borg_keypress() for each character
Remove loads of out-of-date commentry
Refactor and reformat borg_cheat_store()
* Delete loads of repeated code
* Get rid of six pointless static globals
Constify cursed_p()
Refactor, clean up logic and fix bugs in borg_item_analyze()
Remove some now-unused function arguments.