Added connection prompt and fixed quote history