more work on module manager
queued operations now seem to work nicely.