* uploader: move init code to right place
* uploader: fix signal can't be captured
* uploader: fix image not uploaded marked as updated