Fixed editor to size the interior frame properly. Added util function to resize an iframe after its contents have loaded.