Cleanup

In challenge4.php I put the loop that uploads failed objects where it belongs under the catch
rather than where I had it outside of the whole try/catch block. Also some pretty-fying cleanup.