See extended description

Tweaked preferences.
Auto reconnect.
Additional keep-alive measures.
Fixed uploads (broke progress display)
Other minor stuff.
Fixed file deleting