added setting for max distance. correczed control mapping for x-axis. changed ouverture