Added map rendering, got rid of ancient rendering bug, added fancy stuff