Move some PIE specific code from KlawrRuntimePlugin to KlawrEditorPlugin