Bump to 0.5.1, fixing history file and removing accidental debug output