fixed position of long titles when embedded
some more fixes for embedding