Use float types for reliability options in config file.
Replace some panics with user-friendly messages.
Make distance configurable