Fix #8 bug.
Fix #6 bug.
Fix highlight detection.
Use rc for config