Here is a tip that could potentially save you several hours (Mountain Lion): if you have custom keyboard layout, put it in /Library/Keyboard Layouts and NOT in /System/Library/Keyboard Layouts. I know you shouldn't put stuff in System directories, but still... misleading.
BTW: Ukelele just made my life with Mac a little easier (while Mac itself took 2 hours from me by being inconsistent)