fixed manual lock reference, from geolocation to model.
got manual lock semi-working
broke out sorts into separate methods in nn