Improve rebinding

Write default binds to config.txt without having to kick the client
anymore.
Merge pull request #3 from Rainyan/rain-dev

Improve rebinding