Cleaned up the code, esp qv_div iframe parts