Fixed M0 crash, added include path
More progress on config dialog