Moved ConfigDir from theApp to thePrefs

Besides being a better place for it (IMHO), this generates significantly better
code when inline functions are considered, i.e. with optimization enabled.

:: upstream revision 10848 ::