Add semi-functional hex saving, clean other stuff up.