refactor, multithreading fix, PDCurses_set_blink bug