add debug flag to options
avoid tracking generated page transitions
tidy up logging a little