Currently the code the determines whether a module is a workspace does so by comparing the module's workspace name and module name. If they are equal, then it is a workspace. However the "else" code assumes that any non-workspace module is an OpMode. That's wrong since there will be other modules, like Mechanisms.