Don't redefine DEBUG

We use DEBUG as a #define when debug info is turned on. This conflics
with the use in WebAppInterface, so rename that as ENABLE_DEBUG (I can't
think of a better name for now).

Fixes the debug build.
Make use of the "invalid control" look flag

* Use a red border for BTextControl when the invalid flag is set.