Space between if/while/for and ( as per xbmc's coding guidelines.  Throughout.