Only adjust cursor positions with curses locked.
Change switch_compact function name to switch_logsize to be used for other changes.
Switch logsize after hotplugging a device.