EDITING: WIP image upload hack

Do not merge this until the editor stops reloading and then this can be tested.