Still delegating this for later.
Checking security on the location setter.
Added rb_notimplement on the show_modal_dialog.
Implemented most of postMessage. However, it will be incomplete until we can serialize the arguments.