some more controls + multi-threading for buttons and progress bar