Set account gap in config

Account gap is now a configurable parameter, which should make everybody much happier and bring unicorns to our lives.