Console clearing in the middle of typing doesn’t quite work, actually. Commenting it out for now.
Made the console history ignore commands that are identical to the last command.