Adds c++0x init lists and fixed signed-vs-unsigned problems.
Makes some style fixups.