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.