There were a few issues with the old code, but also was some issue I just couldnt figure out why they werent working, when I realized the css above provided by esri doesnt even have some of the needed Dojo 1.6 styles. For example .dijitOffScreen is not in the css.