Changed how code determines which editor it is in so it doesn't get confused when changing editor mode using Editor Extensions.
Now version 0.2.4.5