Level generator + tile system + minor fixes