Pass editor instance to Select options function;

Refs #169 and #159
Build