Updated TinyMCE editor to 4.0.1b. Added media dialog, see issue #80.