Second attempt to fix this package for mini editors

Found method of selecting the active editor mentioned here: https://discuss.atom.io/t/how-can-we-help-you-write-packages/4268/9