Better performance

Added a few optimizations to enhance speed.
Fixed to 15 fps (for now).
Logging of the strobe is always at the middle of the strobe (50 ms since
it started)