Added further GCC warning flags and fixed a couple of style issues.