Bug fixing

Found reason why LED was not on when armed, and fixed it.
Removed some define errors