Fix clang compile error
Fix clang compile warnings
Delete white spaces
Make string 'write_rate_str' const
Not needed to nullify string if we exit anyway
Merge pull request #107 from alexander-zimmermann/next

Fix clang compile errors and warnings