fixing multiple adds of the same entry to the input history (thanks seezer for pointi...