Getting a pointer to the current main editor window in a plugin?

haha perfect! Thanks Michael!