fixed a few warnings when compiling in debug mode
some improvements to initializer list syntax (I totally had this one wrong ...)