Persist the command line between console scenes.
Initialize lastLogIdx and disconnect from console