Add comments and fix progress bar resolution and color