fixed update bug in sensor interface, cleanup

fixed issue where the module would send multiple grapevine messages for every packet received. Also cleaned up, removed some old, unused code.