Firstly thanks for the excellent plugin.
I would like to programatically update a site to being a domain site (i.e. not rely on any actions through the wp-admin pages). The best I can find so far is to rip the code out of dm_handle_actions(), however before doing this, I'd like to see if there is a better way of solving this problem?
I was thinking of moving all the specific actions in dm_handle_actions() into their own functions which would form an API for other developers. Would you like me to contribute this change back?