Ruleeditor as thread, improved rule loader plus other things