Fixed an important error in the keyboard config loader.
The config loader now checks for shortcuts with NULL names, and
avoids creating an std::string from them.