Fix the command history

When you press up, while on the command line you should get the previous command you last used. Press up again and you should get the cmd previous to that etc etc.

The way it is currently is less than usefull, you end up pressing up/down in the hope that you can find a command that you need.

Cheers,
Tom

Version 2.x is no longer affected by this problem.
Regards,
-Mat