Move the aspect tabs into a plugin.
Move the promise.js helper and use it everywhere.
Move task helper and use it consistently.
Move devtools.js devtools/core
Rather than importing devtoolsRequire everywhere, use some dummy modules.