debug log
remove useless variable
autostart without timeout
manage case with or without timeout
Merge pull request #40 from poupotte/master

Debug logs and change autostart