Added a functional progress bar for the training video, and got rid of bugs that occur before loading training video