Keep initial values in a lazy static instead of passing a parameter around

Thanks to @Kimundi for https://gist.github.com/Kimundi/8782487

r? @larsbergstrom