Got rid of some compiler warnings.

Done this by reordering the initialization of the member variables