Add backslashes to square brackets in documentation to clear build warnings.

Fixes #2485.
Remove unreachable intervalTimer variable and move to driver initialization.

Fixes #2488.