Console: several fixes