Try to fix the code to work with 10.8 and higher (tested on Maverick). While I still haven't managed to have the new preferences apply (the prefpane resets them), I've succeeded in having the prefpane show the new settings at least momentarily, by sending the new IMKUserDictionaryDidChangeNotification notification. This still isn't finished. Also, improved code style -- removed semicolons, split long lines etc.