Added initial random level generation, which does not really work. Causes memory leak most of the time.