Added rounding functions and improved progress bars

+ Extra reformatting!