Added frames to forms

Also enabled file_access_from_file_urls to fix same origin problems with
local files and included a sanity check for the renderhandler.