experimental; added sensor warnings, cleaned up sharing vars