now overwrites history file by default.
rearranging default behavior. Having trouble finding the more natural defintion.
i've defined default behavior. Now to use it and see if its the best.
Added update flag. Rearranged flag parsing. Much more natural.