WIP: Cleanup multimedia display code

I think this is somewhat cleaner and works correctly at the REPL. Currently with this there's still an issue where IJulia displays everything twice. I'll try to figure out what's going on there.