DM is now assumed to be started up externally from IE.  Other cleanups: runs off-line, no dependency on jquery-ui.

Also some other cleanups: moved logs to the top level.