adding loadModule event callback handler, fixing off method, keeping track of pending items... like pending loading modules.