improve ajax script ImagePicker to only include html and body tags if
ajax=1 is NOT present
add celements finish document body
add startCelementsDocument macros if ajax=1 is not present
move RedirectEdit to disk