Fixed UnitTests and Editor-only scripts so that Editor and Linux building should proceed successfully and without errors. Handled some problems with UnitTests init settings.