gsensor on/off & fixes