Fixed compiler warnings caused by signed\unsigned integer comparisons and out-of-order member initializations in constructors