pile of dojo layout fixes for 1.3 and to better ascimilate into the TT framework