Fixbug in Gathering Controller

- Stop, resume, start, pause should handle errors
- Fix bug in granularity (should not return 0...)