compiler/libec: Fixed call stack overflows due to libec module adding itself (#940)
- Fixed by adding the extra safety modules to the IDE app rather than libec
- The #940 'added note' was fixed along with #944