Fixed warnings and updated world gen to be much more efficient