Percentage object to functions, code quality

Fixed a ton of comments that made no sense anymore.