Updated changelog and removed some debug code.