Fixed keyboard preferences so it doesn't crash. Removed invalid references to non-existent icons.