Updated to add changes which allow for not using webthread, because you're not actually allowed to do that in cef.