Fix pic uploads, bad connection crashes.