Added progress bars and more constructors to HorizontalFlowLayout