Apparently not supposed to call ED_* functions from there Also added a missing "\n" that's been annoying me for a long while