Slightly off-topic, but I couldn't help but notice as a programmer. I find the coding style of the patch kind of random. The if statements, some of them have braces and some don't. Without a pattern it seems.
What is this style called?
What is this style called?
Anyway, sorry went off-topic.