Switched back to using curses. Added more command line arguments