fixed bug, not saving history anymore. The shutdown to be commented out was just the ConsoleReader.shutdown