Attach internal event listeners before the check for required essentials.

As suggested in #1024.
If uploader cannot be initialized, destroy it.

Assist the GC.