Implemented leveling, added progress bar library