Refactor startup so all the curses init stuff is in kspmc.py