add fix with terminal color mode saved in xterm-256color, add todo for dependences check, add some comments