Theme interaction with rtMedia – some layout issues

I'm pretty sure one of these issues is rtMedia's problem, and I've posted there first, but I'd like to run these two by this forum just in case.

First issue:

When I select an image I'd like this div to accommodate the preview.

Second issue: and I'm pretty sure this is rtMedia…

Getting some weird unclosed HTML and I cannot find it anywhere in rtMedia files.

If anyone's used this plugin before or seen similar or has some pointers, I'd be very much obliged. to see it in person.