stable refactored version 1. Created new files. Still trying to get globals to work across all modules.
More refactoring.  Using a "Global Class" pattern (class G: pass) and now in the main program, global variables are defined and used as 'G.player', or 'G.inventory'. This allows passing these globals consistently to the other modules.  Still not super pretty, but it's the only solution/approach that is making sense to me.
Removed globals.py since it won't be needed anymore.
More refactoring. Using Global Class Pattern. Classes are now separate from main code.
More refactoring. Changed global class name to 'Game' since that's what it was turning out to be.  Need to still add more globals to it (basically anything the save/load routines need).  Then I just passed 'Game' to all the other modules. SOOOO much easier and less verbose.
More Refactoring. creation of abilities.py.
More refactoring. I suspect dungeon, world, entities, and abilities are still pretty intertwined and it would need re-architected.  Current state runs, but I suspect there's a few edge cases that haven't been comprehensively tested.
Merged abilities.py into entities.py since they shared pretty much all modules. Merged objects.py into gamestuff.py for similar reasons.
Major refactoring. merged ui.py into gamestuff.py.  merged half of world.py into gamestuff and the other half into entities.  Able to SIGNIFICANTLY reduce the number of import statements.  Next step is to try to remove as many 'from x import *'.
Removed some 'from X import *" statements.  The only 'from X import *' are for the standard imports: constants and gamestuff.  Dungeoneer.py and map.py changed to 'import entities'. Dungeoneer.py also changed to 'import map'.
more cleaning up. added a way to dynamically reload data via 'reload(module)' command.  it's klunky for now.  pressing 'p' in game will reload 'gamedata.py'. For now, I can't seem to get the module to reload unless I simply put 'import gamedata' at the top.  Means I have to prepend gamedata. in front of all the variables.  If I do 'from gamedata import *', I get a namespace error.
moved all variables in constants.py to data.py.  constants.py can be removed.  also removed gamedata.py and mapdata.py.  For now all editable constants are in data.py.  Inside data.py, variables are grouped based on whether they can safely be edited while game is running.
Also made some other minor general formatting/refactoring updates.
Forgot to remove the 'import constants' and 'import gamedata' statements.