Removed insane amounts of code and added a progress hud when committing changes.