Fix Tosdr not working on startup

Also doing some cleanup, style fixes and readability stuff. and don't
expect the world to be better now.
Add contributor
Add contributor
Merge pull request #9 from freaktechnik/master

Fix Tosdr not working on startup Thanks @freaktechnik (sorry for the wait!)