Smoothed ProgressBar animation
Added new layout algorithm option and formatted code
Formatting