fix column width calculation
do uploads on a separate thread to avoid locking up the GUI