Change timeoutlen value from 1000 to 50
Improve tabs and spaces management