Fixed bug where pressing Deal inserts a blank string in the beginning of the history.