start and stop ncurses

Signed-off-by: Alexander Skjolden <alex@plastboks.net>
better end routine

Signed-off-by: Alexander Skjolden <alex@plastboks.net>