Fix attaching to blank and locked kinetis parts and other things

Improve handling of blank and locked Kineits parts, add 'with' support to board and improve handling of keyboard exceptions.

Good catch.  I replaced it.   All the defines should be used now.