Merges the 2.2 work that's been done recently, plus correcting some of the fixme's that have gone into 2.3 since I last checked. r~