Added generic Confirm system, de-cluttered module system, added module dependency handling.  Other minor changes.