Formatting code; fixing 4 compiler warnings.