Fixed editor resize code and fixed doubling up of themes.