effects: many compilation fixes
inserteffects: compiles