Fixing compiler warnings in levelgen.
Fixing private method casing in levelgen.