Simplify debug output

A little too verbose to be really useful.
API cleanup, added toggle function

Toggle is self-explanatory.

"registerWith" flows better.

Test for visibility so that enable can be used to make toggle buttons.