Prevent duplicate console history entries (closes #6)